<?php
/*
文件名:header.inc.html
编译日期:2013-08-14 14:20:09
文件大小:3.746KB
作者:边缘狂人, QQ:124181646*/
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $lang["comm"]["cpanel"]; if( $title){?>-><?php echo $title; } ?></title>
<link href='<?php echo $TPL;?>css.css' rel='stylesheet' type='text/css' />

<meta http-equiv="Page-Enter" content="blendTrans(Duration=0.3)" />
<meta http-equiv="Page-Exit" content="blendTrans(Duration=0.3)" />

<?php $this->html_js(array('src'=>$TPL."js/jquery.js"));  $this->html_js(array('src'=>$TPL."js/validator.js"));  $this->html_js(array('src'=>$TPL."js/jquery.corner.js")); ?>

<script>
function pop(url,opt){
	opt.width =  opt.width || 400;
	opt.height = opt.height || 200;
	/*showModalDialog
	//showModelessDialog*/
	var va= window.showModalDialog(url + '&t='+Math.random(),window,'dialogWidth='+opt.width+'px;dialogHeight='+opt.height+'px;status=no;help=no;');
	if(va == 1)
	{ 
		window.location.reload(); 
	} 
	return true;

}
</script>

</head><body>

<script>
function pop(url,opt){
	opt.width =  opt.width || 400;
	opt.height = opt.height || 400;
	/*showModalDialog
	//showModelessDialog*/
	var va= window.showModalDialog(url + '&t='+Math.random(),window,'dialogWidth='+opt.width+'px;dialogHeight='+opt.height+'px;status=no;help=no;');
	if(va == 1)
	{ 
		window.location.reload(); 
	} 
	return true;

}

$().ready(function (){
	$('.list-div tr').mouseover(function (){
		$(this).addClass('odd');
	});
	$('.list-div tr').mouseout(function (){
		$(this).removeClass('odd');
	});
});
$().ready(function(){
	$('#now').corner("10px");
});
</script>


<style>

.pages{
	float:right;
	display:block;
}
.pages a,.pages span{
	margin-left:10px;
}
.pages span{
	color:red;
	font-size:14px;
	font-weight:bolder;
}
</style>


<style>
.odd td{
	background:#DEEFF7;
	color:#000;
}
.odd td a{
	background:#DEEFF7;
	color:#000;
	text-decoration:none;
}

/*导航菜单*/
.tip{
font-size:14px;
font-weight:bolder;
clear:both;
height:50px;
line-height:50px;
border-bottom:1px solid #000;
background:#2D646F;

}
.tip a{
	color:#eee;
	display:block;
	float:left;
	min-width:70px;
	text-align:center;
	height:25px;
	line-height:25px;
	margin-top:15px;
}
.tip a span{ color:red}
.tip a:hover{
	color:red;
	display:block;
	float:left;
	min-width:70px;
}
.tip #now{
	color:red;
	background:#fff;
}


#blue{
	color:blue;
}
#red{
	color:red;
}
.input{ width:250px }
.td1{ 
	text-align:right;
	width:200px; 
}

</style>




<div class="tip">
<a href="<?php echo __smarty__url(array('c'=>'index')); ?>" <?php if( "index"==$config['c']){?>id="now"<?php } ?>><?php echo $lang["comm"]["cpanel"];?></a>

<?php foreach( $lang['menu'] as $k => $v){?>
	<a href="<?php echo __smarty_url(array('c'=>$k)); ?>" <?php if( $k==$config['c']){?>id="now"<?php } ?>><?php echo $v;?></a>
<?php }  foreach( $lang['module'] as $k => $v){?>
	<a href="<?php echo __smarty_url(array('c'=>$v['tag'])); ?>"  <?php if( $v['tag']==$config['c']){?>id="now"<?php } ?>><?php echo $v["name"];?></a>
<?php } ?>

<a href="<?php echo __smarty_url(array('c'=>'tool')); ?>"  <?php if( 'tool'==$config['c']){?>id="now"<?php } ?>><?php echo $lang["comm"]["system_tool"];?></a>


<a href="<?php echo __smarty_url(array('c'=>'index','m'=>'logout')); ?>" onclick="return confirm('<?php echo $lang["comm"]["logout_alert"];?>')"><?php echo $lang["comm"]["logout"];?></a>


	

	
</div>
<div class="clear"></div>
<h1><?php echo $lang["comm"]["where"];?>:<span><?php echo $lang["comm"]["cpanel"]; if( $title){?>-><?php echo $title; }  if( isset($title2)){?>-><?php echo $title2; } ?> </span>
</h1>
		